package com.atguigu.c_designed.m3beheviorModel.b10Strategy.v2;

public class StrategyClient {
    public static void main(String[] args) {
        PromotionStrategyFacory strategyFacory = PromotionStrategyFacory.getInstance();
        String promotionKey = "COUPON";
        PromotionStrategy promotionStrategy = strategyFacory.getPromotionStrategy(promotionKey);
        promotionStrategy.doPromotion();

    }
}
